import httpDomainName from "../../common/domainName"
//图片路径拼接
export const imgUrl = (src, type) => {
    if (!src) {
        return ''
    }
    if (src.indexOf('http') != -1 || src.indexOf('/assets') != -1) {
        return src
    }
    let urls = httpDomainName.imgSrc + src
    return urls
}